// 创建一个插件，存储自身定义的所有自定义组件
import PageTools from './pageTools'
import UploadExcel from './UploadExcel'
import ImgUpload from './ImgUpload'
import Lang from './Lang'
import ScreenFull from './ScreenFull'
import ThemePicker from './ThemePicker'
export default {
  install(Vue) {
    // console.log(6, Vue)
    Vue.component('PageTools', PageTools)
    // 导入excel组件
    Vue.component('UploadExcel', UploadExcel)
    // 图片上传组件
    Vue.component('ImgUpload', ImgUpload)
    // 语言组件
    Vue.component('Lang', Lang)
    // 全屏组件
    Vue.component('ScreenFull', ScreenFull)
    // 主题色切换组件
    Vue.component('ThemePicker', ThemePicker)
  }
}

